/**
 *  @Author MJreams
 *  @Time 2023/12/13 18:40:00
 *
**/
package cmd

import (
	"github.com/spf13/cobra"
	serviceOne2 "github.com/wwxcli/cmd/serviceOne/options"
	"github.com/wwxcli/controller/serviceOne"
)

func NewServiceOneCmd() *cobra.Command {
	cmds := &cobra.Command{
		Use:   "one",
		Short: "this is service one",
		Run: func(cmd *cobra.Command, args []string) {
			serviceOne.Run()
		},
	}
	serviceOne2.Pause(cmds)
	return cmds
}
